﻿package model;

import java.sql.Timestamp;

public class Notice {

	private int noticeId;
	private int sid;
	private String title;
	private String content;
	private int uid;
	private String memid;
	private Timestamp createdTime;
	private Timestamp updatedTime;

	public Notice() {

	}


	public Notice(int sid, String title, String content, int uid,
			Timestamp createdTime) {
		this.sid = sid;
		this.title = title;
		this.content = content;
		this.uid = uid;
		this.createdTime = createdTime;
	}


	public Notice(int noticeId, int sid, String title, String memid,
			Timestamp createdTime) {
		this.noticeId = noticeId;
		this.sid = sid;
		this.title = title;
		this.memid = memid;
		this.createdTime = createdTime;
	}

	public Notice(int noticeId, int sid, String title, String content,
			String memid, Timestamp createdTime, Timestamp updatedTime) {
		this.noticeId = noticeId;
		this.sid = sid;
		this.title = title;
		this.content=content;
		this.memid = memid;
		this.createdTime = createdTime;
		this.updatedTime = updatedTime;
	}

	public int getNoticeId() {
		return noticeId;
	}

	public void setNoticeId(int noticeId) {
		this.noticeId = noticeId;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getMemid() {
		return memid;
	}

	public void setMemid(String memid) {
		this.memid = memid;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

}
